Given
that I'm at the Holidaymaker home page
7s 541ms
When
I choose Frankrike
1s 250ms
And
I enter check-in date
1s 61ms
And
I enter check-out date
1s 46ms
And
I enter the number of adults
1s 261ms
And
I enter the number of kids
1s 253ms
And
I enter the number of babies
1s 249ms
And
I click the Sök button
1s 241ms
Then
I click Info button to see information
18ms
Show Error +
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\jitma\Desktop\Holidaymaker\js-frontend\tests\selenium\step-definitions\search.js:182:22)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\jitma\Desktop\Holidaymaker\js-frontend\tests\selenium\step-definitions\search.js:182:22)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
And
The page shows hotel information.
0s
Then(/^The page shows hotel information.$/, function(callback) {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});